package com.alogic.textfilter.loader;

import com.alogic.load.Loader;
import com.alogic.textfilter.TextFilter;
import com.alogic.textfilter.impl.Default;
import com.anysoft.util.Properties;
import com.anysoft.util.PropertiesConstants;

/**
 * 热部署文件
 * @author yyduan
 *
 * @since 1.6.13.10 [20200827 duanyy]
 */
public class HotLoader extends Loader.HotFile<TextFilter>{
	protected String dftClass = Default.class.getName();
	@Override
	protected String getObjectDftClass() {
		return dftClass;
	}
	
	@Override
	public void configure(Properties p){
		dftClass = PropertiesConstants.getString(p, "dftClass", dftClass);
		super.configure(p);
	}
}

